package com.atguigu.srb.core.pojo.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Data
@ApiOperation("借款列表数据模型")
public class BorrowInfoVO {
    @ApiModelProperty(value = "借款编号")
    private Long id;
    @ApiModelProperty(value = "姓名")
    private String name;


    @ApiModelProperty(value = "手机")
    private String mobile;
    @ApiModelProperty(value = "借款金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "借款期限")
    private Integer period;

    @ApiModelProperty(value = "还款方式 1-等额本息 2-等额本金 3-每月还息一次还本 4-一次还本")
    private Integer returnMethod;

    @ApiModelProperty(value = "资金用途")
    private Integer moneyUse;

    @ApiModelProperty(value = "年化利率")
    private BigDecimal borrowYearRate;

    @ApiModelProperty(value = "状态（0：未提交，1：审核中， 2：审核通过， -1：审核不通过, 3: 借款已关闭）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    private Map<String,String> params = new HashMap<>();

}
